﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace furion.blog.Domain.Shared.Dto.Member
{
    public class MemberLocationDto
    {
        /// <summary>
        /// 会员ID
        /// </summary>
        [JsonProperty(PropertyName = "memberId")]
        public long MemberId { get; set; }

        /// <summary>
        /// 维度
        /// </summary>
        [JsonProperty(PropertyName = "lat")]
        public decimal Lat { get; set; } = decimal.Zero;

        /// <summary>
        /// 经度
        /// </summary>
        [JsonProperty(PropertyName = "lng")]
        public decimal Lng { get; set; } = decimal.Zero;

        /// <summary>
        /// 城市
        /// </summary>
        [JsonProperty(PropertyName = "city")]
        public string City { get; set; } = string.Empty;


        /// <summary>
        /// 详细地址
        /// </summary>
        [JsonProperty(PropertyName = "addr")]
        public string Addr { get; set; } = string.Empty;

    }
}
